package com.softa.utils;

import java.io.IOException;

/**
 * 
 * @ClassName: Constants
 * @Description: TODO
 * @author yangl
 * @date 2015-6-3 下午1:14:30
 * 
 */
public class Constants {
	public static final String CURRENT_USER = "user";
	public static final String ALLNUMBER = "0123456789";
	public static final String MENU_MANAGE = "manage";
	public static final String MENU_FRONT = "custom";
	public static final String REALM_CUSTOM = "customRealm";
	public static final String REALM_ADMIN = "adminRealm";
	public static final String ADMIN = "admin";

	public static String getCD() throws IOException {
		return ReadProperties.readValue("resources.properties", "file.path");
	}

	public static String getSysname() throws IOException {
		return ReadProperties.readValue("resources.properties", "sys.info.sysname");
	}
}
